namespace :seo do
  desc 'Sitemap'
  task :site_map do
    SitemapGenerator::Sitemap.default_host = 'http://example.com'
    SitemapGenerator::Sitemap.create do
      add '/', :changefreq => 'daily', :priority => 0.9
      add '/about_me', :changefreq => 'weekly'
    end
  end
end